<?php
/* @var $this HyBSysProcategoryController */
/* @var $model HyBSysProcategory */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'hy-bsys-procategory-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'SysProCategoryID'); ?>
		<?php echo $form->textField($model,'SysProCategoryID',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'SysProCategoryID'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TopNum'); ?>
		<?php echo $form->textField($model,'TopNum'); ?>
		<?php echo $form->error($model,'TopNum'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ParentID'); ?>
		<?php echo $form->textField($model,'ParentID',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'ParentID'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'CateName'); ?>
		<?php echo $form->textField($model,'CateName',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'CateName'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'CateNameEn'); ?>
		<?php echo $form->textField($model,'CateNameEn',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'CateNameEn'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'CateNameFn'); ?>
		<?php echo $form->textField($model,'CateNameFn',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'CateNameFn'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'CustomLink'); ?>
		<?php echo $form->textField($model,'CustomLink',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'CustomLink'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Photo'); ?>
		<?php echo $form->textField($model,'Photo',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'Photo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Intro'); ?>
		<?php echo $form->textArea($model,'Intro',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'Intro'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'SortNum'); ?>
		<?php echo $form->textField($model,'SortNum'); ?>
		<?php echo $form->error($model,'SortNum'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'IsLock'); ?>
		<?php echo $form->textField($model,'IsLock'); ?>
		<?php echo $form->error($model,'IsLock'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Lang'); ?>
		<?php echo $form->textField($model,'Lang'); ?>
		<?php echo $form->error($model,'Lang'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Level'); ?>
		<?php echo $form->textField($model,'Level'); ?>
		<?php echo $form->error($model,'Level'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'HasChild'); ?>
		<?php echo $form->textField($model,'HasChild'); ?>
		<?php echo $form->error($model,'HasChild'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zhiwu'); ?>
		<?php echo $form->textField($model,'zhiwu',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zhiwu'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'sex'); ?>
		<?php echo $form->textField($model,'sex',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'sex'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'company'); ?>
		<?php echo $form->textField($model,'company',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'company'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'minzu'); ?>
		<?php echo $form->textField($model,'minzu',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'minzu'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'xueli'); ?>
		<?php echo $form->textField($model,'xueli',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'xueli'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'blogurl'); ?>
		<?php echo $form->textField($model,'blogurl',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'blogurl'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->